<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  	<head>
        <title>P2P Fusion - Peerscape</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <meta name="generator" content="Peerscape" />
        <meta http-equiv="imagetoolbar" content="no" />

        <style type="text/css">
            <!-- 
            @import url(/static/css/core.css);
            @import url(/static/css/content.css);
            -->
        </style>
        <link rel="shortcut icon" type="image/x-icon" href="http://p2p-fusion.org/favicon.ico" />
    </head>
  	<body class="person">
	    <div id="wrapper">
	        <div id="inner">
                <div id="topLinks">
                    <h5 class="hide">Personal tools</h5>
                    <ul>
                        <li>
                            <a id="admin" href="http://admin.hexlabel.net/">My Admin</a>
                        </li>
                        <li>
                            <a id="user" href="http://my.hexlabel.net/">My Profile</a>
                        </li>
                    </ul>
                    <div class="clr"><br/></div>
                </div>

                <div id="main">
                    <div class="inner">
                        <div id="header">
                            <div class="left">
                                <h1 id="logo"><a href="http://my.hexlable.net/" accesskey="1">fusion</a></h1>
                                <h2 id="subtitle">Peerscape</h2>
                            </div>
                            <div class="right">
                                <div id="globalTools">
                                    <h5 class="hide">Global tools</h5>
                                    % if is_self:
                                        <ul class="contextTools">
                                            <li class="selected">
                                                <a href="/group/edit">Edit profile</a>
                                            </li>
                                            <li>
                                                <a href="/group/edit_picture">Edit picture</a>
                                            </li>
                                        </ul>
                                    % endif
                                </div>
                            </div>
                            <div class="clr"><br/></div>
                        </div>

                        <div id="content">
                            <div id="pic">
                            </div>
                            <div id="info">
                                <h2>Edit profile</h2>
                                <form id="groupForm" action="/group/edit" method="POST">
                                    <dl class="generic">
                                        <dt><label for="${profile_fields['generic']['name']['values'][0]['id']}">${profile_fields['generic']['name']['meta']['label']}</label></dt>
                                        <dd>
                                            <input type="text" class="text" name="${profile_fields['generic']['name']['values'][0]['id']}" id="${profile_fields['generic']['name']['values'][0]['id']}" value="${profile_fields['generic']['name']['values'][0]['value']}"/>
                                        </dd>
                                        <dt><label for="${profile_fields['generic']['about']['values'][0]['id']}">${profile_fields['generic']['about']['meta']['label']}</label></dt>
                                        <dd>
                                            <textarea class="text" rows="6" cols="20" name="${profile_fields['generic']['about']['values'][0]['id']}" id="${profile_fields['generic']['about']['values'][0]['id']}">${profile_fields['generic']['about']['values'][0]['value']}</textarea>
                                        </dd>
                                    </dl>
                                    <dl>
                                        <dd class="buttons">
                                            <input type="submit" class="submit default" value="save"/>
                                        </dd>
                                        <dd class="buttons cancel">
                                            <a href="http://${hexlabel}.hexlabel.net/group/" class="button">Cancel</a>
                                        </dd>
                                    </dl>
                                    <div class="clr"><br/></div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
    
                <div id="footer">
                    <div class="left">
                        <ul>
                            <li><a class="footer" href="http://p2p-fusion.org">Home</a></li>
                            <li><a class="footer" href="http://p2p-fusion.org/contact">Contact us</a></li>
                            <li><a class="footer" href="http://p2p-fusion.org/disclaimer">Disclaimer</a></li>
                        </ul>
                    </div>
                    <div class="right">
                        <p class="footerText">P2P-FUSION is co-funded by the European Union through the IST programme under FP6.</p>
                    </div>
                    <div class="clr"><br/></div>
                </div>
            </div>
	    </div>
	</body>
</html>


